package com.atguigu.pamentdemo.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
//持久层扫描
@MapperScan("com.atguigu.paymentdemo.mapper")
//启用事务管理
@EnableTransactionManagement
public class MybatisPlusConfig {
}
